<?php

namespace Common\Model;

use Think\Model\ViewModel;

/**
 * @author ZXZ <zxz054321@163.com>
 */
class ListenViewModel extends ViewModel {

    public $viewFields = array(
        'Listen' => array(
        ),
        'Addons' => array(
            'name' => 'addon_name',
            'status',
            '_on' => 'Addons.id=Listen.addon_id',
        ),
        'Hooks' => array(
            'name' => 'hook_name',
            '_on' => 'Hooks.id=Listen.hook_id',
        ),
    );

}
